package event.model;

import java.util.Date;

import org.bson.types.ObjectId;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

@Document(collection="Album")
public class EventModel {

	@Id
	private ObjectId albumId;
	
	private ObjectId userId;
	
	private String albumName;
	
	private Date albumStartDate;
	
	private int albumType;
	
	

	public ObjectId getAlbumId() {
		return albumId;
	}

	public void setAlbumId(ObjectId albumId) {
		this.albumId = albumId;
	}

	public ObjectId getUserId() {
		return userId;
	}
	
	public String getId() {
		return albumId.toString();
	}
	
	public void setUserId(ObjectId userId) {
		this.userId = userId;
	}

	public String getAlbumName() {
		return albumName;
	}

	public void setAlbumName(String albumName) {
		this.albumName = albumName;
	}

	public Date getAlbumStartDate() {
		return albumStartDate;
	}

	public void setAlbumStartDate(Date albumStartDate) {
		this.albumStartDate = albumStartDate;
	}

	public int getAlbumType() {
		return albumType;
	}

	public void setAlbumType(int albumType) {
		this.albumType = albumType;
	}
	
	
	
}
